PHP Code:

./adb-mac reboot bootloader

./fastboot-mac flash recovery recovery.img

./fastboot-mac reboot

./adb-mac reboot recovery 

